package com.ccp.dev.form.consts;

/**
 * form模块常量类
 *
 * @author zhaowj
 */
public class FormConstants {

    /**
     * 字符串默认值0
     */
    public static final String DEFAULT_STR_ZERO = "0";

    /**
     * 字符串长度18
     */
    public static final int DEFAULT_STR_LENGTH = 32;


    /**
     * 整型默认值0
     */
    public static final int DEFAULT_INT_ZERO = 0;

    /**
     * 整型默认值1
     */
    public static final int DEFAULT_INT_ONE = 1;

    /**
     * 整型长度18
     */
    public static final int INT_LENGTH = 18;

    /**
     * 整型长度20
     */
    public static final int INT_TWENTY = 20;

    /**
     * 字符串false
     */
    public static final String STR_FALSE = "false";

    /**
     * 字符串true
     */
    public static final String STR_TRUE = "true";

    /**
     * 字符串租户Id
     */
    public static final String STR_TENANT_ID = "租户Id";

    /**
     * 字符串版本控制字段
     */
    public static final String STR_VERSION_CONTROL = "版本控制字段";

    /**
     * 字符串多条表记录_
     */
    public static final String STR_MULTIPLE_RECORDS = "多条表记录_";

    /**
     * 字符串多条表单记录_
     */
    public static final String STR_FORM_RECORDS = "多条表单记录_";

    /**
     * 字符串全部数据源_
     */
    public static final String STR_ALL_DATASOURCE = "全部数据源_";

    /**
     * 字符串数据源_
     */
    public static final String STR_DATASOURCE = "数据源_";

    /**
     * 字符串 LOCAL
     */
    public static final String STR_LOCAL = "LOCAL";

    /**
     * 字符串 本地数据库
     */
    public static final String STR_LOCAL_DATASOURCE = "本地数据库";

    /**
     * 字符串 流水号为
     */
    public static final String STR_IDENTITY = "流水号为";

    /**
     * 字符串 已经存在，该流水号终止导入！
     */
    public static final String STR_IDENTITY_EXIST = "已经存在，该流水号终止导入！";

    /**
     * 字符串 表名为
     */
    public static final String STR_TABLE_NAME = "表名为";

    /**
     * 字符串 的已经存在，请更改表名！
     */
    public static final String STR_TABLE_EXIST = "的已经存在，请更改表名！";

    /**
     * 字符串 字段名为
     */
    public static final String STR_FIELD_NAME = "字段名为";

    /**
     * 字符串 的已经存在，该字段进行更新！
     */
    public static final String STR_FIELD_EXIST = "的已经存在，该字段进行更新！";

    /**
     * 字符串 该字段成功导入
     */
    public static final String STR_FIELD_IMPORT = "，该字段成功导入！";

    /**
     * 字符串 主键
     */
    public static final String STR_PRIMARY_KEY = "主键";

    /**
     * 字符串 外键
     */
    public static final String STR_FOREIGN_KEY = "外键";

    /**
     * 字符串 用户字段
     */
    public static final String STR_USER_FIELD = "用户字段";

    /**
     * 字符串 流程RUN字段
     */
    public static final String STR_FLOW_FIELD = "流程RUN字段";

    /**
     * 字符串 流程定义ID
     */
    public static final String STR_FLOW_ID = "流程定义ID";

    /**
     * 字符串 记录插入时间
     */
    public static final String STR_INSERT_TIME = "记录插入时间";

    /**
     * 字符串 组织字段
     */
    public static final String STR_ORGANIZE_FIELD = "组织字段";

    /**
     * 字符串 创建人
     */
    public static final String STR_CREATE_PERSON = "创建人";

    /**
     * 字符串 创建时间
     */
    public static final String STR_CREATE_TIME = "创建时间";

    /**
     * 字符串 更新人
     */
    public static final String STR_UPDATE_PERSON = "更新人";

    /**
     * 字符串 更新时间
     */
    public static final String STR_UPDATE_TIME = "更新时间";

    /**
     * 字符串 排序
     */
    public static final String STR_SORT = "排序";

    /**
     * 字段名 租户id
     */
    public static final String FIELD_TENANTID = "tenantId";

    /**
     * 租户id
     */
    public static final String STR_TENANTID = "租户Id";

    /**
     * 密级
     */
    public static final String STR_DATA_PRIVACY_LEVEL = "密级";

    /**
     * 字段名 version
     */
    public static final String FIELD_VERSION = "version";

    /**
     * 字段名 创建人
     */
    public static final String FIELD_CREATE_PERSON = "createBy";

    /**
     * 字段名 创建时间
     */

    public static final String FIELD_CREATE_TIME = "createTime";

    /**
     * 字段名 更新人
     */
    public static final String FIELD_UPDATE_PERSON = "updateBy";

    /**
     * 字段名 更新时间
     */
    public static final String FIELD_UPDATE_TIME = "updateTime";

    /**
     * 字段名 密级
     */
    public static final String DATA_PRIVACY_LEVEL = "dataPrivacyLevel";

    /**
     * sys_file字段名 密级
     */
    public static final String FILE_LEVEL = "fileLevel";

    /**
     * 上传控件JSON的key fileid
     */
    public static final String FILE_ID = "fileid";

    /**
     * 数据字典：数据密级
     */
    public static final String DICTYPE_SJMJ = "sjmj";

    /**
     * 字段名 排序
     */
    public static final String FIELD_SORT = "sort";

    /**
     * 字符类型varchar
     */
    public static final String FIELD_TYPE_VARCHAR = "varchar";

    /**
     * 字符类型date
     */
    public static final String FIELD_TYPE_DATE = "date";

    /**
     * 字符名 版本
     */
    public static final String FIELD_TYPE_VERSION = "version";

    /**
     * 字符类型number
     */
    public static final String FIELD_TYPE_NUMBER = "number";

    /**
     * 字符串 bpmFormField
     */
    public static final String STR_FORM_FIELD = "bpmFormField";

    /**
     * 字符串 identity
     */
    public static final String STR_IDENT = "identity";

    /**
     * 字符串 subTable
     */
    public static final String STR_SUB_TABLE = "subTable";

    /**
     * 字符串 bpm
     */
    public static final String STR_BPM = "bpm";

    /**
     * 字符串 tables
     */
    public static final String STR_TABLES = "tables";

    /**
     * 字符串 form
     */
    public static final String STR_FORM = "form";

    /**
     * 字符串 formDefs
     */
    public static final String STR_FORM_DEFS = "formDefs";

    /**
     * 字符串 add
     */
    public static final String STR_ADD = "add";

    /**
     * 字符串 upd
     */
    public static final String STR_UPD = "upd";

    /**
     * 字符串 未知的数据库类型
     */
    public static final String STR_UNKNOWN_DATABASE_TYPE = "未知的数据库类型";
    /**
     * 自定义表数据
     */
    public static final String STR_FORM_TABLE = "formTable";

    /**
     * 自定义表单的树结构
     */
    public static final String STR_FORM_DEF_TREE = "formDefTree";

    /**
     * 树结构的详细查询
     */
    public static final String STR_JSON = "json";

    /**
     * 字符串 主
     */
    public static final String STR_ZHU = "主";

    /**
     * 字符串 从
     */
    public static final String STR_CONG = "从";

    /**
     * 字符串 Id
     */
    public static final String STR_ID = "Id";

    /**
     * 字符串 ID
     */
    public static final String STR_ID_CAP = "ID";

    /**
     * 字符串 options
     */
    public static final String STR_OPTIONS = "options";

    /**
     * 字符串 ctlProperty
     */
    public static final String STR_PROPERTY = "ctlProperty";

    /**
     * 字符串 bpmFormTable
     */
    public static final String STR_BPM_FORM_TABLE = "bpmFormTable";

    /**
     * 字符串 bpmFormDefOther
     */
    public static final String STR_FORM_DEF_OTHER = "bpmFormDefOther";

    /**
     * 字符串 bpmTableTemplate
     */
    public static final String STR_TABLE_TEMPLATE = "bpmTableTemplate";

    /**
     * 字符串 bpmFormRights
     */
    public static final String STR_FORM_RIGHTS = "bpmFormRights";

    /**
     * 字符串 sysBusEvent
     */
    public static final String STR_SYS_BUS_EVENT = "sysBusEvent";

    /**
     * 字符串 yyyy-MM-dd HH:mm:ss
     */
    public static final String STR_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";

    /**
     * 自定义查询
     */
    public static final int FORM_QUERY = 1;

    /**
     * 自定义对话框
     */
    public static final int FORM_DIALOG = 2;

    /**
     * 字符串 varchar
     */
    public static final String STR_VARCHAR = "varchar";

    /**
     * 字符串 maxlength
     */
    public static final String STR_MAX_LENGTH = "maxlength";

    /**
     * 字符串 date
     */
    public static final String STR_DATE = "date";

    /**
     * 字符串 number
     */
    public static final String STR_NUMBER = "number";

    /**
     * 字符串 maxIntLen
     */
    public static final String STR_MAX_INT_LEN = "maxIntLen";

    /**
     * 字符串 maxDecimalLen
     */
    public static final String STR_MAX_DECIMAL_LEN = "maxDecimalLen";

    /**
     * 字符串 minValue
     */
    public static final String STR_MIN_VALUE = "minValue";

    /**
     * 字符串 maxValue
     */
    public static final String STR_MAX_VALUE = "maxValue";

    /**
     * 字符串 range
     */
    public static final String STR_RANGE = "range";


    /**
     * 下拉选项的控件类型
     */
    public static final short CONTROLTYPE_XL = 11;
}


